<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模型管理 - 一体化作战平台</title>
    <!-- 引入Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- 引入Font Awesome -->
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    
    <!-- Tailwind配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#0066cc',
                        secondary: '#0099cc',
                        success: '#009966',
                        warning: '#ff9900',
                        danger: '#cc3300',
                        neutral: {
                            100: '#f5f7fa',
                            200: '#e4e7ed',
                            300: '#c0c4cc',
                            400: '#909399',
                            500: '#606266',
                            600: '#303133',
                            700: '#1f2937',
                        }
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                    boxShadow: {
                        'card': '0 2px 8px rgba(0, 0, 0, 0.08)',
                        'dropdown': '0 4px 16px rgba(0, 0, 0, 0.12)',
                    }
                },
            }
        }
    </script>
    
    <!-- 自定义工具类 -->
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .text-shadow {
                text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            }
            .transition-all-300 {
                transition: all 300ms ease-in-out;
            }
        }
    </style>
    
    <style>
        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        ::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #a1a1a1;
        }
        
        /* Tab标签样式 */
        .model-tab {
            transition: all 0.3s ease;
        }
        .model-tab.active {
            font-weight: 600;
        }
        .model-tab:hover {
            background-color: rgba(0, 102, 204, 0.05);
        }
        
        /* 表格样式 */
        .model-table th {
            font-weight: 500;
            color: #606266;
        }
        .model-table td {
            color: #303133;
        }
        
        /* 模块卡片悬停效果 */
        .module-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>
<body class="bg-neutral-100 font-sans text-neutral-600 min-h-screen flex flex-col">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm fixed top-0 left-0 right-0 z-50">
        <div class="flex items-center justify-between px-4 py-3">
            <!-- Logo和标题 -->
            <div class="flex items-center space-x-3">
                <button id="menuToggle" class="md:hidden p-2 rounded-md hover:bg-neutral-100 transition-all-300">
                    <i class="fa fa-bars text-neutral-600"></i>
                </button>
                <div class="flex items-center space-x-2">
                    <div class="w-10 h-10 bg-primary rounded-md flex items-center justify-center text-white">
                        <i class="fa fa-bank text-xl"></i>
                    </div>
                    <h1 class="text-xl font-bold text-neutral-700 hidden md:block">一体化作战平台</h1>
                    <h1 class="text-lg font-bold text-neutral-700 md:hidden">研发交付平台</h1>
                </div>
            </div>
            
            <!-- 搜索框 -->
            <div class="hidden md:flex relative flex-1 max-w-md mx-4">
                <input type="text" placeholder="搜索任务..." 
                    class="w-full pl-10 pr-4 py-2 rounded-md border border-neutral-200 focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-neutral-400"></i>
            </div>
            
            <!-- 右侧用户区域 -->
            <div class="flex items-center space-x-1 md:space-x-4">
                <!-- 通知按钮 -->
                <button class="relative p-2 rounded-full hover:bg-neutral-100 transition-all-300">
                    <i class="fa fa-bell-o text-lg text-neutral-600"></i>
                    <span class="absolute top-0 right-0 w-2 h-2 bg-danger rounded-full"></span>
                </button>
                
                <!-- 消息按钮 -->
                <button class="relative p-2 rounded-full hover:bg-neutral-100 transition-all-300 hidden md:block">
                    <i class="fa fa-envelope-o text-lg text-neutral-600"></i>
                    <span class="absolute top-0 right-0 w-2 h-2 bg-primary rounded-full"></span>
                </button>
                
                <!-- 用户头像 -->
                <div class="flex items-center space-x-2 ml-2">
                    <div class="w-8 h-8 bg-neutral-200 rounded-full overflow-hidden">
                        <img src="https://picsum.photos/id/1005/200/200" alt="用户头像" class="w-full h-full object-cover">
                    </div>
                    <span class="hidden md:block text-sm font-medium text-neutral-700">张三</span>
                </div>
            </div>
        </div>
    </header>

    <!-- 主体内容 -->
    <div class="flex pt-16 flex-1">
        <!-- 左侧导航菜单 -->
        <aside class="w-16 md:w-64 bg-white shadow-sm fixed h-full left-0 top-16 overflow-y-auto scrollbar-hide transform md:transform-none transition-transform duration-300 z-40 -translate-x-full md:translate-x-0">
            <nav class="py-4">
                <ul>
                    <!-- 主导航项 -->
                    <li class="mb-1">
                        <a href="index.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-tachometer text-lg"></i>
                            <span class="hidden md:block">首页</span>
                        </a>
                    </li>
                    
                    <!-- 交付流程模块 -->
                    <li class="mb-1">
                        <a href="business_strategy.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-line-chart text-lg"></i>
                            <span class="hidden md:block">业务战略</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <a href="architecture-management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-sitemap text-lg"></i>
                            <span class="hidden md:block">架构管理</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <a href="requirementsManagement.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-list-alt text-lg"></i>
                            <span class="hidden md:block">需求管理</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <div class="design-menu-wrapper">
                            <div class="flex items-center justify-between px-4 py-3 text-primary bg-primary/5 border-r-4 border-primary">
                                <a href="design_management.html" class="flex items-center space-x-3 flex-1" onclick="event.stopPropagation();">
                                    <i class="fa fa-paint-brush text-lg"></i>
                                    <span class="hidden md:block font-medium">设计管理</span>
                                </a>
                                <button id="design-menu-toggle" class="hidden md:block p-1 hover:bg-neutral-200 rounded transition-all" aria-label="展开/收起子菜单" onclick="event.stopPropagation();">
                                    <i class="fa fa-chevron-right text-xs transform transition-transform duration-300"></i>
                                </button>
                            </div>
                            <!-- 下拉子菜单 -->
                            <div id="design-submenu" class="hidden overflow-hidden transition-all duration-300 ease-in-out">
                                <div class="bg-neutral-50 py-1">
                                    <a href="interface_management.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-plug text-sm"></i>
                                        <span class="hidden md:block">接口管理</span>
                                    </a>
                                    <a href="model_management1.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-cubes text-sm"></i>
                                        <span class="hidden md:block">模型管理</span>
                                    </a>
                                    <a href="data_management.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-database text-sm"></i>
                                        <span class="hidden md:block">字典管理</span>
                                    </a>
                                    <a href="ui_management.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-desktop text-sm"></i>
                                        <span class="hidden md:block">差异分析</span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </li>
                    
                    <li class="mb-1">
                        <a href="schedule_management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-calendar text-lg"></i>
                            <span class="hidden md:block">排期管理</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <a href="developmentMage.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-code text-lg"></i>
                            <span class="hidden md:block">开发管理</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <div class="test-menu-wrapper">
                            <div class="flex items-center justify-between px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                                <a href="testManagement.html" class="flex items-center space-x-3 flex-1" onclick="event.stopPropagation();">
                                    <i class="fa fa-bug text-lg"></i>
                                    <span class="hidden md:block">测试管理</span>
                                </a>
                                <button id="test-menu-toggle" class="hidden md:block p-1 hover:bg-neutral-200 rounded transition-all" aria-label="展开/收起子菜单" onclick="event.stopPropagation();">
                                    <i class="fa fa-chevron-right text-xs transform transition-transform duration-300"></i>
                                </button>
                            </div>
                            <!-- 下拉子菜单 -->
                            <div id="test-submenu" class="hidden overflow-hidden transition-all duration-300 ease-in-out">
                                <div class="bg-neutral-50 py-1">
                                    <a href="test_cases.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-file-text-o text-sm"></i>
                                        <span class="hidden md:block">测试案例</span>
                                    </a>
                                    <a href="test_plans.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-calendar-check-o text-sm"></i>
                                        <span class="hidden md:block">测试计划</span>
                                    </a>
                                    <a href="test_reports.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-bar-chart text-sm"></i>
                                        <span class="hidden md:block">测试报告</span>
                                    </a>
                                    <a href="test_global_settings.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-cogs text-sm"></i>
                                        <span class="hidden md:block">全局设置</span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </li>
                    
                    <li class="mb-1">
                        <a href="production_workflow.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-rocket text-lg"></i>
                            <span class="hidden md:block">投产上线</span>
                        </a>
                    </li>
                    
                    <!-- 新增的三个子菜单项 -->
                    <li class="mb-1">
                        <a href="quality_management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-check-circle text-lg"></i>
                            <span class="hidden md:block">质量管理</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <a href="security_management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-shield text-lg"></i>
                            <span class="hidden md:block">安全管理</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <a href="efficiency_metrics.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-bar-chart text-lg"></i>
                            <span class="hidden md:block">效能度量</span>
                        </a>
                    </li>
                    
                    <!-- 分隔线 -->
                    <li class="my-2">
                        <div class="border-t border-neutral-200 mx-4"></div>
                    </li>
                    
                    <!-- 公共模块 -->
                    <li class="mb-1">
                        <a href="teamManagement.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-users text-lg"></i>
                            <span class="hidden md:block">团队管理</span>
                        </a>
                    </li>
                    
                    <li class="mb-1">
                        <a href="settings.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-cog text-lg"></i>
                            <span class="hidden md:block">设置</span>
                        </a>
                    </li>
                </ul>
            </nav>
        </aside>

        <!-- 主内容区域 -->
        <main class="flex-1 ml-16 md:ml-64 p-4 md:p-6 bg-neutral-100 min-h-screen">
            <!-- 面包屑导航 -->
            <div class="mb-6">
                <nav class="flex" aria-label="面包屑">
                    <ol class="inline-flex items-center space-x-1 md:space-x-3">
                        <li class="inline-flex items-center">
                            <a href="index.html" class="text-sm font-medium text-neutral-500 hover:text-primary">
                                <i class="fa fa-home mr-2"></i>首页
                            </a>
                        </li>
                        <li>
                            <i class="fa fa-chevron-right text-neutral-400 text-xs mx-2"></i>
                            <a href="design_management.html" class="text-sm font-medium text-neutral-500 hover:text-primary">设计管理</a>
                        </li>
                        <li>
                            <i class="fa fa-chevron-right text-neutral-400 text-xs mx-2"></i>
                            <span class="text-sm font-medium text-neutral-700">模型管理</span>
                        </li>
                    </ol>
                </nav>
            </div>

            <!-- 页面标题 -->
            <div class="flex justify-between items-center mb-6">
                <div>
                    <h1 class="text-xl font-bold text-neutral-800">模型管理</h1>
                    <p class="text-neutral-500 text-sm mt-1">管理和维护系统数据模型</p>
                </div>
                <div class="flex space-x-3">
                    <button class="px-4 py-2 bg-white border border-neutral-300 rounded-md text-sm hover:bg-neutral-50 transition-all-300 flex items-center">
                        <i class="fa fa-download mr-1"></i>
                        导出
                    </button>
                    <button class="px-4 py-2 bg-primary text-white rounded-md text-sm hover:bg-primary/90 transition-all-300 flex items-center">
                        <i class="fa fa-plus mr-1"></i>
                        新建模型
                    </button>
                </div>
            </div>

            <!-- Tab标签页导航 -->
            <div class="bg-white rounded-lg shadow-card mb-6">
                <div class="border-b border-neutral-200">
                    <div class="flex px-6">
                        <button id="tab-physical" class="model-tab active px-4 py-3 text-sm font-medium border-b-2 border-primary text-primary transition-all">
                            <i class="fa fa-database mr-1"></i> 物理数据模型
                        </button>
                        <button id="tab-management" class="model-tab px-4 py-3 text-sm font-medium border-b-2 border-transparent text-neutral-600 hover:text-neutral-800 transition-all">
                            <i class="fa fa-cog mr-1"></i> 模型管理
                        </button>
                        <button id="tab-config" class="model-tab px-4 py-3 text-sm font-medium border-b-2 border-transparent text-neutral-600 hover:text-neutral-800 transition-all">
                            <i class="fa fa-wrench mr-1"></i> 配置管理
                        </button>
                    </div>
                </div>

                <!-- Tab内容区域 -->
                <div class="p-6">
                    <!-- 物理数据模型 Tab -->
                    <div id="content-physical" class="tab-content">
                        <!-- 筛选条件 -->
                        <div class="mb-6 bg-neutral-50 p-4 rounded-lg">
                            <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
                                <div>
                                    <label class="block text-sm text-neutral-600 mb-1">板块</label>
                                    <select class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                                        <option value="">全部</option>
                                        <option value="零售">零售</option>
                                        <option value="对公">对公</option>
                                        <option value="风控">风控</option>
                                    </select>
                                </div>
                                <div>
                                    <label class="block text-sm text-neutral-600 mb-1">领域</label>
                                    <select class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                                        <option value="">全部</option>
                                        <option value="客户">客户</option>
                                        <option value="产品">产品</option>
                                        <option value="合约">合约</option>
                                    </select>
                                </div>
                                <div>
                                    <label class="block text-sm text-neutral-600 mb-1">系统</label>
                                    <select class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                                        <option value="">全部</option>
                                        <option value="核心系统">核心系统</option>
                                        <option value="信贷系统">信贷系统</option>
                                        <option value="风控系统">风控系统</option>
                                    </select>
                                </div>
                                <div>
                                    <label class="block text-sm text-neutral-600 mb-1">模型名称</label>
                                    <input type="text" placeholder="请输入模型名称" 
                                        class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                                </div>
                            </div>
                            <div class="flex justify-end mt-4">
                                <button class="px-4 py-2 bg-primary text-white rounded-md text-sm hover:bg-primary/90 transition-all-300">
                                    <i class="fa fa-search mr-1"></i> 查询
                                </button>
                            </div>
                        </div>

                        <!-- 模型清单表格 -->
                        <div class="overflow-x-auto">
                            <table class="min-w-full model-table">
                                <thead>
                                    <tr class="bg-neutral-50 border-b border-neutral-200">
                                        <th class="px-4 py-3 text-left text-sm font-semibold text-neutral-600">模型名称</th>
                                        <th class="px-4 py-3 text-left text-sm font-semibold text-neutral-600">模型管理员</th>
                                        <th class="px-4 py-3 text-left text-sm font-semibold text-neutral-600">模型归属</th>
                                        <th class="px-4 py-3 text-left text-sm font-semibold text-neutral-600">发布时间</th>
                                        <th class="px-4 py-3 text-left text-sm font-semibold text-neutral-600">版本号</th>
                                        <th class="px-4 py-3 text-left text-sm font-semibold text-neutral-600">操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr class="border-b border-neutral-200 hover:bg-neutral-50">
                                        <td class="px-4 py-3 text-sm font-medium">fmut</td>
                                        <td class="px-4 py-3 text-sm">张三</td>
                                        <td class="px-4 py-3 text-sm">零售-客户</td>
                                        <td class="px-4 py-3 text-sm">2024-06-15</td>
                                        <td class="px-4 py-3 text-sm">v2.1.0</td>
                                        <td class="px-4 py-3 text-sm">
                                            <button class="text-primary hover:text-primary/80 mr-3">查看</button>
                                            <button class="text-neutral-500 hover:text-neutral-700">编辑</button>
                                        </td>
                                    </tr>
                                    <tr class="border-b border-neutral-200 hover:bg-neutral-50">
                                        <td class="px-4 py-3 text-sm font-medium">user_profile</td>
                                        <td class="px-4 py-3 text-sm">李四</td>
                                        <td class="px-4 py-3 text-sm">对公-产品</td>
                                        <td class="px-4 py-3 text-sm">2024-06-10</td>
                                        <td class="px-4 py-3 text-sm">v1.5.2</td>
                                        <td class="px-4 py-3 text-sm">
                                            <button class="text-primary hover:text-primary/80 mr-3">查看</button>
                                            <button class="text-neutral-500 hover:text-neutral-700">编辑</button>
                                        </td>
                                    </tr>
                                    <tr class="border-b border-neutral-200 hover:bg-neutral-50">
                                        <td class="px-4 py-3 text-sm font-medium">loan_contract</td>
                                        <td class="px-4 py-3 text-sm">王五</td>
                                        <td class="px-4 py-3 text-sm">信贷-合约</td>
                                        <td class="px-4 py-3 text-sm">2024-06-05</td>
                                        <td class="px-4 py-3 text-sm">v3.0.1</td>
                                        <td class="px-4 py-3 text-sm">
                                            <button class="text-primary hover:text-primary/80 mr-3">查看</button>
                                            <button class="text-neutral-500 hover:text-neutral-700">编辑</button>
                                        </td>
                                    </tr>
                                    <tr class="border-b border-neutral-200 hover:bg-neutral-50">
                                        <td class="px-4 py-3 text-sm font-medium">risk_assessment</td>
                                        <td class="px-4 py-3 text-sm">赵六</td>
                                        <td class="px-4 py-3 text-sm">风控-评估</td>
                                        <td class="px-4 py-3 text-sm">2024-05-28</td>
                                        <td class="px-4 py-3 text-sm">v1.2.5</td>
                                        <td class="px-4 py-3 text-sm">
                                            <button class="text-primary hover:text-primary/80 mr-3">查看</button>
                                            <button class="text-neutral-500 hover:text-neutral-700">编辑</button>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>

                        <!-- 分页 -->
                        <div class="flex justify-between items-center mt-6">
                            <div class="text-sm text-neutral-500">
                                显示 1-4 条，共 24 条
                            </div>
                            <div class="flex space-x-1">
                                <button class="w-8 h-8 flex items-center justify-center border border-neutral-200 rounded-md text-neutral-500 hover:bg-neutral-50">
                                    <i class="fa fa-angle-left"></i>
                                </button>
                                <button class="w-8 h-8 flex items-center justify-center border border-primary bg-primary text-white rounded-md">1</button>
                                <button class="w-8 h-8 flex items-center justify-center border border-neutral-200 rounded-md text-neutral-600 hover:bg-neutral-50">2</button>
                                <button class="w-8 h-8 flex items-center justify-center border border-neutral-200 rounded-md text-neutral-600 hover:bg-neutral-50">3</button>
                                <button class="w-8 h-8 flex items-center justify-center border border-neutral-200 rounded-md text-neutral-500 hover:bg-neutral-50">
                                    <i class="fa fa-angle-right"></i>
                                </button>
                            </div>
                        </div>
                    </div>

                    <!-- 模型管理 Tab -->
                    <div id="content-management" class="tab-content hidden">
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                            <!-- 基础管理模块 -->
                            <div class="bg-white border border-neutral-200 rounded-lg module-card transition-all-300">
                                <div class="p-5">
                                    <div class="flex items-center mb-4">
                                        <div class="w-10 h-10 bg-blue-100 rounded-md flex items-center justify-center text-blue-600 mr-3">
                                            <i class="fa fa-database"></i>
                                        </div>
                                        <h3 class="text-lg font-semibold text-neutral-700">基础管理</h3>
                                    </div>
                                    <p class="text-sm text-neutral-500 mb-4">模型基础数据的申请与管理</p>
                                    <div class="space-y-2">
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">数据项申请</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">订阅关系管理</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>

                            <!-- 数据治理模块 -->
                            <div class="bg-white border border-neutral-200 rounded-lg module-card transition-all-300">
                                <div class="p-5">
                                    <div class="flex items-center mb-4">
                                        <div class="w-10 h-10 bg-green-100 rounded-md flex items-center justify-center text-green-600 mr-3">
                                            <i class="fa fa-shield"></i>
                                        </div>
                                        <h3 class="text-lg font-semibold text-neutral-700">数据治理</h3>
                                    </div>
                                    <p class="text-sm text-neutral-500 mb-4">模型数据的治理与安全管理</p>
                                    <div class="space-y-2">
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">白名单配置</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">生产态表结构</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">生产态模型比对</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">测试态模型比对</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>

                            <!-- 安全分级分类管理模块 -->
                            <div class="bg-white border border-neutral-200 rounded-lg module-card transition-all-300">
                                <div class="p-5">
                                    <div class="flex items-center mb-4">
                                        <div class="w-10 h-10 bg-purple-100 rounded-md flex items-center justify-center text-purple-600 mr-3">
                                            <i class="fa fa-lock"></i>
                                        </div>
                                        <h3 class="text-lg font-semibold text-neutral-700">安全分级分类管理</h3>
                                    </div>
                                    <p class="text-sm text-neutral-500 mb-4">模型数据的安全分级与分类管理</p>
                                    <div class="space-y-2">
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">数据安全等级配置</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">数据分类标签管理</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">敏感数据识别</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- 配置管理 Tab -->
                    <div id="content-config" class="tab-content hidden">
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                            <!-- 权限配置模块 -->
                            <div class="bg-white border border-neutral-200 rounded-lg module-card transition-all-300">
                                <div class="p-5">
                                    <div class="flex items-center mb-4">
                                        <div class="w-10 h-10 bg-indigo-100 rounded-md flex items-center justify-center text-indigo-600 mr-3">
                                            <i class="fa fa-user-circle"></i>
                                        </div>
                                        <h3 class="text-lg font-semibold text-neutral-700">权限配置</h3>
                                    </div>
                                    <p class="text-sm text-neutral-500 mb-4">模型相关权限的配置与管理</p>
                                    <div class="space-y-2">
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">用户权限管理</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">角色权限配置</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">权限申请审批</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>

                            <!-- 系统配置模块 -->
                            <div class="bg-white border border-neutral-200 rounded-lg module-card transition-all-300">
                                <div class="p-5">
                                    <div class="flex items-center mb-4">
                                        <div class="w-10 h-10 bg-teal-100 rounded-md flex items-center justify-center text-teal-600 mr-3">
                                            <i class="fa fa-cogs"></i>
                                        </div>
                                        <h3 class="text-lg font-semibold text-neutral-700">系统配置</h3>
                                    </div>
                                    <p class="text-sm text-neutral-500 mb-4">模型管理系统的参数配置</p>
                                    <div class="space-y-2">
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">系统参数设置</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">日志配置</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">通知配置</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>

                            <!-- 基础管理模块 -->
                            <div class="bg-white border border-neutral-200 rounded-lg module-card transition-all-300">
                                <div class="p-5">
                                    <div class="flex items-center mb-4">
                                        <div class="w-10 h-10 bg-orange-100 rounded-md flex items-center justify-center text-orange-600 mr-3">
                                            <i class="fa fa-archive"></i>
                                        </div>
                                        <h3 class="text-lg font-semibold text-neutral-700">基础管理</h3>
                                    </div>
                                    <p class="text-sm text-neutral-500 mb-4">模型基础数据的维护</p>
                                    <div class="space-y-2">
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">数据字典管理</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">元数据管理</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                        <a href="#" class="flex items-center justify-between p-2 hover:bg-neutral-50 rounded-md transition-all">
                                            <span class="text-sm">模型模板管理</span>
                                            <i class="fa fa-chevron-right text-xs text-neutral-400"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <!-- JavaScript -->
    <script>
        // 移动端菜单切换
        const menuToggle = document.getElementById('menuToggle');
        const aside = document.querySelector('aside');
        
        if (menuToggle && aside) {
            menuToggle.addEventListener('click', function() {
                aside.classList.toggle('-translate-x-full');
            });
        }

        // 设计管理菜单展开/收起功能
        const designMenuToggle = document.getElementById('design-menu-toggle');
        const designSubmenu = document.getElementById('design-submenu');
        
        if (designMenuToggle && designSubmenu) {
            designMenuToggle.addEventListener('click', function(e) {
                e.preventDefault();
                e.stopPropagation();
                
                const icon = this.querySelector('i');
                const isExpanded = !designSubmenu.classList.contains('hidden');
                
                if (isExpanded) {
                    // 收起子菜单
                    designSubmenu.classList.add('hidden');
                    icon.classList.remove('rotate-90');
                } else {
                    // 展开子菜单
                    designSubmenu.classList.remove('hidden');
                    icon.classList.add('rotate-90');
                }
            });
        }

        // 测试管理菜单展开/收起功能
        const testMenuToggle = document.getElementById('test-menu-toggle');
        const testSubmenu = document.getElementById('test-submenu');
        
        if (testMenuToggle && testSubmenu) {
            testMenuToggle.addEventListener('click', function(e) {
                e.preventDefault();
                e.stopPropagation();
                
                const icon = this.querySelector('i');
                const isExpanded = !testSubmenu.classList.contains('hidden');
                
                if (isExpanded) {
                    // 收起子菜单
                    testSubmenu.classList.add('hidden');
                    icon.classList.remove('rotate-90');
                } else {
                    // 展开子菜单
                    testSubmenu.classList.remove('hidden');
                    icon.classList.add('rotate-90');
                }
            });
        }

        // Tab标签页切换功能
        document.addEventListener('DOMContentLoaded', function() {
            const tabs = document.querySelectorAll('.model-tab');
            const tabContents = document.querySelectorAll('.tab-content');
            
            tabs.forEach(tab => {
                tab.addEventListener('click', function() {
                    const targetId = this.id.replace('tab-', 'content-');
                    
                    // 移除所有active样式
                    tabs.forEach(t => {
                        t.classList.remove('active', 'border-primary', 'text-primary');
                        t.classList.add('border-transparent', 'text-neutral-600');
                    });
                    
                    // 添加当前active样式
                    this.classList.add('active', 'border-primary', 'text-primary');
                    this.classList.remove('border-transparent', 'text-neutral-600');
                    
                    // 隐藏所有内容
                    tabContents.forEach(content => {
                        content.classList.add('hidden');
                    });
                    
                    // 显示当前内容
                    const targetContent = document.getElementById(targetId);
                    if (targetContent) {
                        targetContent.classList.remove('hidden');
                    }
                });
            });
        });
    </script>
</body>
</html>